sum = 0
original_num = int(input("请输入要求解数字的累加和："))
num = original_num
while num > 0:
    sum += num#求累加和
    num -= 1
print("%d的累加和为%d" % (original_num,sum))
